@charset "utf-8";

@import 'iconfont';

*{
    padding: 0;
    margin: 0;
}

.all{
    max-width: 2560px;
    min-width: 800px;
    width: auto;
    height: auto;
    position: relative;
    background-color: #f4f4f4;
    font-family: "方正悠黑 508R W","PingFang SC","Microsoft YaHei","Helvetica Neue",Helvetica,Arial;
    
}

header{
    position: absolute;
    width: 100%;
    height: 60px;
    z-index: 1;
    .nav{
        position: relative;
        height: 60px;
        width: 1200px;
        margin: 0 auto;
        text-align: center;
        h1{
            height: 60px;
            width: 145px;
            line-height: 60px;
            display: inline-block;
            position: absolute;
            vertical-align: middle;
            left: 0;
            a{
                img{
                    
                    height: 40px;
                    text-align: center;
                }
            }
            
        }
        ul{
            display: inline-block;
            height: 60px;
            width: auto;
            line-height: 60px;
            li{
                list-style: none;
                height: 60px;
                width: auto;
                line-height: 60px;
                display: inline-block;
                a{
                    padding: 0 10px;
                    margin: 0 15px;
                    text-decoration: none;
                    color: #333;
                    font-size: 15px;
                    &:hover{
                        color: #767676;
                    }
                }
            }
        }
        .oc-icon{
            display: inline-block;
            position: absolute;
            right: 0;
            font-size: 22px;
            line-height: 60px;
            &:hover div{
                height: 269px;
                padding: 12px 0;
            }
            div{
                transition: all 0.6s;
                display: block;
                overflow: hidden;
                position: absolute;
                width: 265px;
                height: 0px;
                top: 60px;
                right: -20px;
                box-shadow: -2px 2px 3px #cdcdcd;
                border-radius: 5px;
                background-color: #ffffff;
                p{
                    position: relative;
                    font-size: 15px;
                    letter-spacing: 2px;
                    text-align: left;
                    width: 214px;
                    border-bottom: 1px solid #ebebeb;
                    font-weight: 600;
                }
            }
            &:hover{
                color: #767676;
            }
        }
        
    }
}

//手机菜单

.menuitem{
    position: relative;
    &:hover{
        .submenu{
            height: 368px;
        }
    }
    .submenu{
        transition: all 0.6s;
        display: block;
        position: absolute;
        top: 60px;
        left: -310px;
        width: 1349px;
        height: 0px;
        background-color: #f2f2f2;
        overflow: hidden;
        .menu_content{
            height: 338px;
            width: 933px;
            font-size: 0;
            margin-top: 16px;
            margin: 0 auto;
            display: block;
            &::after{
                content: "";
                display: block;
                clear: both;
            }
            li{
                list-style: none;
                width: 150px;
                height: 150px;
                background-color: black;
                margin: 9px;
                vertical-align: top;
                float: left;
                trastion: all 0.6s;
                &:hover{
                    margin-top: 7px;
                    margin-bottom: 11px;
                    box-shadow: 0 5px 10px lightgray;
                }
                a{
                    display: block;
                    height: 100%;
                    width: 100%;
                    margin: 0 !important;
                    padding: 0 !important;
                    overflow: hidden;
                    img{
                        width: 100%;
                        height: 100%;
                        transition: all 1.5s ease;
                        &:hover{
                            transform: scale(1.1);
                            
                        }
                    }
                }
                display: inline-block;
                &:first-child{
                    width: 410px;
                    height: 320px;
                    margin: 9px;
                    background-color: black;
                }
            }
        }
    }
}

//尾部样式

footer{
    background-color: #fff;
    position: relative;
    height: 322px;
    padding-top: 60px;
    &::before{
        content: "";
        display: block;
        height: 1px;
        width: 1200px;
        background-color: #e1e1e1;
        position: absolute;
        top: 0;
        left: 74.5px;
    }
    .foot_a{
        position: relative;
        width: 1200px;
        height: 140px;
        margin: 0 auto;
        .list{
            width: 744px;
            height: 140px;
            font-size: 0;
            .list_a{
                display: inline-block;
                width: 186px;
                height: 140px;
                vertical-align: top;
                dt{
                    height: 14px;
                    margin-bottom: 10px;
                    color: #464646;
                    font-size: 14px;
                } 
                dd{
                    padding: 6px 0;
                    height: 17px;
                    margin-right: 14px;
                    overflow: hidden;
                    font-size: 14px;
                    line-height: 17px;
                    a{
                        text-decoration: none;
                        color: #666;
                        transition: 0.3s;
                        &:hover{
                            color: #acacac;
                        }
                    }
                } 
            }
        }
        .contact{
            width: 173px;
            height: 116px;
            position: absolute;
            right: 0;
            top: 0;
            text-align: right;
            a{
                display: inline-block;
                height: 51px;
                width: 173px;
                background-color: #666;
                position: relative;
                text-decoration: none;
                text-align: center;
                line-height: 51px;
                border-radius: 25.5px;
                color: #fff;
                margin-bottom: 20px;
                text-align: center;
                font-size: 26px;
                transition: 0.6s;
                vertical-align: middle;
                &:hover{
                    background-color: #464646;
                }
                span{
                    font-size: 15px;
                    vertical-align: middle;
                }
            }
            h3{
                font-size: 24px;
                color: #333;
            }
            p{
                font-size: 14px;
                color: #828282;
            }
        }
        
    }
    .foot_b{
        width: 1200px;
        height: 25px;
        padding-top: 24px;
        margin: 72px auto 0 auto;
        border-top: 1px solid #ebebeb;
        font-size: 0;
        p{
            display: inline-block;
            height: 25px;
            width: 922px;
            line-height: 25px;
            font-size: 13px;
            color: #a5a4a6;
            a{
                display: inline-block;
                font-size: 13px;
                text-decoration: none;
                color: #a5a4a6;
                height: 16px;
                text-align: center;
                b{
                    display: inline-block;
                    height: 25px;
                    width: 15px;
                    line-height: 25px;
                    margin-left: 3px;
                    background: url(../img/goan.png) no-repeat;
                    background-size: 100% auto;
                    margin-top: 3px;
                    vertical-align: middle;
                    transition: 0.6s;
                    &:hover{
                        background: url(../img/gonan2.png) no-repeat;
                    } 
                }
            }
        }
        .ico{
            display: inline-block;
            width: 252px;
            height: 25px;
            padding-left: 26px;
            font-size: 0px;
            color: #999999;
            strong{
                font-size: 13px;
                color: #999999;
            }
            a{
                display: inline-block;
                width: 19px;
                height: 25px;
                line-height: 25px;
                margin-left: 15px;
                i{
                    font-size: 16px;
                    line-height: 16px;
                    height: 16px;
                    color: #999999;
                    transition: 0.6s;
                    vertical-align: bottom;
                    &:hover{
                        color: #666666;
                    }
                }
                &:last-child{
                    width: 62px;
                    padding-left: 15px;
                    border-left: 1px solid #999;
                }
              span{
                  color: #999999;
                  font-size: 13px;
                  line-height: 25px;
                  transition: 0.6s;
                  &:hover{
                      color: #666666;
                  }
                }
            }
        }
        
    }
}
.oc-icon{
        &:before{
        vertical-align: middle;
        }
    }